home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr22 / 1sec.zip / 1SEC.DOC < prev   
Text File  |  1993-05-04  |  3KB  |  49 lines

  1. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
  2. *                                                                       *
  3. *   Shareware by TOM                                                    *
  4. *                                                                       *
  5. *   Goodies written in C, 80?86 assembler, FoxBase, and more.           *
  6. *                                                                       *
  7. *   Support Shareware! Register your copy of this program.              *
  8. *                                                                       *
  9. *   Register by mail to:                                                *
  10. *                         Shareware by Tom                              *
  11. *                         2371 N. 59th Street                           *
  12. *                         Milwaukee, WI 53210-2215                      *
  13. *                                                                       *
  14. *   Questions? Contact me by mail, or via Exec-PC bbs, 414-789-4210     *
  15. *   Exec-PC has V.42bis & MNP lines and various 9600 baud lines.        *
  16. *   My username on EXEC is TOM PETERS.                                  * 
  17. *                                                                       *
  18. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
  19. *                              In brief:                                *
  20. *                                                                       *
  21. * Program Name: 1SEC                  Written in:  ASM (in DEBUG!)      *
  22. *               10SEC                                                   *
  23. *                                                                       *
  24. * Registration Fee: $5                                                  *
  25. *                                                                       *
  26. * Summary of function: Waits 1 second without using a loop              *
  27. *                      10SEC waits 10 seconds.                          *
  28. *                                                                       *
  29. *                                                                       *
  30. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
  31.  
  32. 1SEC uses function 86h of interrupt 15h to pause for one million micro-
  33. seconds (one second) on compatible machines. 10SEC waits 10 million
  34. microseconds. 
  35.  
  36. This function is described in my 1988 interupt listing as being compatible
  37. with the following machines: "AT, XT2, XT286, CONV, PS"
  38.  
  39. It works on all machines I've ever tried it on.
  40.  
  41. This function might actually give away processing time to other tasks
  42. under multitasking environments, since there is no timing loop involved.
  43. This would allow batch files that must pause for a screen to be read
  44. (for example) while allowing other tasks to run at full speed. The
  45. timing should be accurate to within 977 microseconds, less overhead for
  46. loading the program from the disk.
  47.  
  48.  
  49.